package com.pig4cloud.pig.village.house.service.impl;

import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pig4cloud.pig.village.api.dto.HouseDTO;
import com.pig4cloud.pig.village.api.dto.LandDTO;
import com.pig4cloud.pig.village.api.dto.LandTotalDTO;
import com.pig4cloud.pig.village.api.entity.House;
import com.pig4cloud.pig.village.api.entity.Land;
import com.pig4cloud.pig.village.api.entity.Team;
import com.pig4cloud.pig.village.api.entity.Villager;
import com.pig4cloud.pig.village.house.mapper.HouseMapper;
import com.pig4cloud.pig.village.house.service.IHouseService;
import com.pig4cloud.pig.village.land.mapper.LandMapper;
import com.pig4cloud.pig.village.land.service.ILandService;
import com.pig4cloud.pig.village.team.service.ITeamService;
import com.pig4cloud.pig.village.villager.service.IVillagerService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
import java.util.stream.Collectors;

/**
 * @author jimi.jin
 * @date 2022/3/14
 */
@Service
@RequiredArgsConstructor
public class HouseServiceImpl extends ServiceImpl<HouseMapper, House> implements IHouseService {

	@Resource
	private HouseMapper houseMapper;

	@Override
	public List<HouseDTO> getHouse(){
		return null;
	}

	@Override
	public HouseDTO getDtoById(Long id) {
		return null;
	}
}
